<? if ($enable_delivery) {
	if (!empty($category_all_name)) echo '<hr>';
		else echo '<div style="padding-left:4px;text-align:center;">';
	$curr_section = $_GET['section']?$_GET['section']:0;

	include ('user/counter_sct.php');
	$sect_ids = explode(",",$sect_ids_string);

	$sect2show = array();
	foreach ($sect_ids as $sect_id) $sect2show[${"section_".$sect_id."_pos"}] = $sect_id;
?>
	<!--a class="button<?=$curr_section==0?'_actv':''?>" href="/" style="width:180px;float:none;font-size:14px;">
		<span><?=$category_all_name?></span></a-->
<?

	if (!empty($sect2show)) {
		ksort($sect2show,SORT_NUMERIC);
		foreach ($sect2show as $sect_id) { ?>			<a class="button<?=$curr_section==$sect_id?'_actv':''?>" href="/?section=<?=$sect_id?>"
			style="width:180px;float:none;font-size:14px;">
				<span><b><?=${"section_".$sect_id."_name"}?></b></span></a>
		<?
		}
	}
?>
	<!--a class="button<?=$curr_section==0?'_actv':''?>" href="/" style="width:180px;float:none;font-size:14px;">
		<span><b>Каталог</b></span></a>
	<a class="button<?=$curr_section==1?'_actv':''?>" href="/?section=1" style="width:180px;float:none;font-size:14px;">
		<span><b>Доставка</b></span></a>
	<a class="button<?=$curr_section==2?'_actv':''?>" href="/?section=2" style="width:180px;float:none;font-size:14px;">
		<span><b>О нас</b></span></a>
	<a class="button<?=$curr_section==3?'_actv':''?>" href="/?section=3" style="width:180px;float:none;font-size:14px;">
		<span><b>История пирогов</b></span></a-->
</div>
<? } ?>